package com.clock.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.clock.common.annotation.Excel;
import com.clock.common.core.domain.BaseEntity;

/**
 * 积分对象 shop_integral
 * 
 * @author ruoyi
 * @date 2024-10-10
 */
public class ShopIntegral extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积分ID */
    private Long integralId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 积分改变的类型 */
    @Excel(name = "积分改变的类型")
    private String changeType;

    /** 改变积分数量 */
    @Excel(name = "改变积分数量")
    private Integer changeCount;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long shopId;

    /** 积分数量 */
    @Excel(name = "积分数量")
    private Integer integralNumber;

    public void setIntegralId(Long integralId) 
    {
        this.integralId = integralId;
    }

    public Long getIntegralId() 
    {
        return integralId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setChangeType(String changeType) 
    {
        this.changeType = changeType;
    }

    public String getChangeType() 
    {
        return changeType;
    }
    public void setChangeCount(Integer changeCount) 
    {
        this.changeCount = changeCount;
    }

    public Integer getChangeCount() 
    {
        return changeCount;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setIntegralNumber(Integer integralNumber) 
    {
        this.integralNumber = integralNumber;
    }

    public Integer getIntegralNumber() 
    {
        return integralNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("integralId", getIntegralId())
            .append("userId", getUserId())
            .append("changeType", getChangeType())
            .append("changeCount", getChangeCount())
            .append("shopId", getShopId())
            .append("integralNumber", getIntegralNumber())
            .toString();
    }
}
